#!python
#
# Pyste file for osg::PntNT (for various values of N and T).

import Settings
Pnt = Template('osg::PointInterface', 'OpenSG/OSGVector.h')

for size in Settings.Pnt_sizes:
   for type, alias in Settings.Pnt_types.iteritems():
      Include('Wrappers.h')
      c = Pnt('%s osg::VecStorage%d<%s>' % (type, size, type))
      rename(c, 'Pnt%d%s' % (size, alias))
      set_policy(c.subZero, return_internal_reference(1))
      full_type_name = 'osg::PointInterface<%s,osg::VecStorage%d<%s> >'%(type,size,type)
      set_wrapper(c.getValues, 'osgwrap::getValues%d< %s >' %(size,full_type_name))
